package ltd.newbee.mall.order.mapper;

import ltd.newbee.mall.order.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper {
    int insert(Order order);
    Order findByOrderNo(@Param("orderNo") String orderNo);
    List<Order> findPage(@Param("offset") int offset, @Param("limit") int limit);
}


